module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: [ // element 按需加载插件
    [
      'component',
      {
        libraryName: 'element-ui',
        styleLibraryName: 'theme-chalk'
      }
    ]
    // ['import', { libraryName: 'ant-design-vue', libraryDirectory: 'es', style: true }] // `style: true` 会加载 less 文件
  ]
}
